<?php
	// Close the right-side (content) column

	//echo "<br/>\n";
	echo "</td>\n";
	echo "</tr>\n";

	// Separation Line
	echo "      <tr class='myline' height='6'><td colspan='2'></td></tr>\n";


	// End of Main Content Area
	echo "</table></center>\n";
	echo "</td>\n";
	echo "</tr>\n";

	// Display site name, version and contact email
	echo "<tr>\n";
	echo "<td height='100%' align='center' valign='top' colspan='2'><br>AllaClone - Version: $cfgversion\n";
	echo "<a href='mailto:".$SiteEmail."'>$SiteEmail</a>\n";
	echo "</td>\n";
	echo "</tr>\n";

	// Display Theme Selector
	echo "<tr>\n";
	echo "<td align='center'>\n";
	echo "<table border='0' width='0%' height='100%' cellpadding='0' cellspacing='7'>\n";
	echo "<tr align='center'>\n";
	echo "<td>\n";
	print 'Select Theme:';
	echo "</td>\n";
	echo "</tr>\n";
	echo "<tr align='center'>\n";
	echo "<td>\n";
	print '<form method=post name="SetTheme" >
		<select name="SetTheme" onChange="this.form.submit()">
		<option selected>Selected: '. $_COOKIE['Theme'] . '</option>
		<option value="Dark Blue">Dark Blue</option>
		<option value="Allakhazam">Allakhazam</option>
		</select>
		</form>';
	echo '<br><small>EQEmulator is a trademark of The EQEmulator Team.<br>
	Everquest is a registered trademark of Sony Computer Entertainment America Inc.<br>
	EQEmulator is not associated with Sony, SOE, & Affiliates, in any way.</small><br>';
	echo "<br><br>\n";
	echo "</td>\n";
	echo "</tr>\n";

	echo "</table>\n";
	echo "</td>\n";
	echo "</tr>\n";

	echo "</table>\n";
	echo "</body>\n";
	echo "</html>\n";

?>
